package com.hexinfo.dmpro.monitor.model.cm;

import com.hexinfo.dmpro.monitor.model.base.MonitorBaseModel;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class CmResourceData {
    //集群信息
    private String cmFlag;
    private String cmName;
    private String clusterFlag;
    private String clusterName;
    private String url;
    private String areaId;
    private String sortId;
    //Hdfs总容量使用情况
    private String hdfsUse;
    //服务状态
    private List<ServiceState> serviceStates;
    //资源使用情况
    private String yarnCpuUsePro;
    private String yarnMemoryUsePro;
    private String impalaMemoryUsePro;
    //作业数
    private String yarnSum = "0";
    private String yarnRunning = "0";
    private String yarnFailed = "0";
    private String yarnSucceeded = "0";
    private String impalaSum = "0";
    private String impalaRunning = "0";
    private String impalaFailed = "0";
    private String impalaSucceeded = "0";
}
